package com.mew.chess.core.common.handler;

import com.zebra.remoting.tms.AbstractOnlineNumberService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

//@Service
@Slf4j
public class ChessOnlineNumberService extends AbstractOnlineNumberService {

    @Override
    public long getOnlineNumber() {
        long s = ChessSessionManager.size();
        log.info("----------------------SIZE {}-------", s);
        return s;
    }
}
